package labox.innovation.gameserver.handler;

import labox.innovation.gameserver.model.actor.instance.FuzePcInstance;

/**
 * Interface for chat handlers
 *
 * @author  durgus
 */
public interface IChatHandler
{
	/**
	 * Handles a specific type of chat messages
	 * @param type
	 * @param activeChar
	 * @param target  //-- 目标对象
	 */
	public void handleChat(int type, FuzePcInstance activeChar, FuzePcInstance target, String text);
	
	/**
	 * Returns a list of all chat types registered to this handler
	 * @return
	 */
	public int[] getChatTypeList();
}